home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 4 / Amiga Tools 4.iso / tools / mail-tools / thor / thor_2.22 / thor.lha / rexx / BBSRead / PackData.br < prev    next >
Text File  |  1995-12-18  |  523b  |  32 lines

  1. /* PackData.br
  2.  *
  3.  * Stubb to use PACKDATAFILE from cli
  4.  */
  5.  
  6.     parse arg arguments
  7.  
  8.     if ~show('p', 'BBSREAD') then do
  9.         address command
  10.             "run >nil: `GetEnv THOR/THORPath`bin/LoadBBSRead"
  11.             "WaitForPort BBSREAD"
  12.     end
  13.  
  14.     address BBSREAD
  15.  
  16.     if arguments = '' then 
  17.     do
  18.         GETCOMMANDINFO PACKDATAFILE TEMP
  19.  
  20.         say '$VER: PackData.br 3.1 (09.08.94)'
  21.         say 'Lets you use the PACKDATAFILE arexx command from CLI.'
  22.         say 'Template:' TEMP
  23.         exit
  24.     end
  25.  
  26.     PACKDATAFILE arguments
  27.     if(rc ~= 0) then
  28.     do
  29.         say BBSREAD.LASTERROR
  30.         exit
  31.     end
  32.